package cn.xuyang520.tyim.sys.controller;

import cn.xuyang520.tyim.sys.domain.TySysGroupRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by admin on 2017/4/4.
 */
@Controller
@RequestMapping("/tySysGroupController")
public class TySysGroupController extends TySysBaseController {

    @Autowired
    private TySysGroupRepository tySysGroupRepository;




    @RequestMapping("/findAll")
    @ResponseBody
    public Object findAll() {
        return tySysGroupRepository.findAll();
    }
}
